package Demo03;

public class Test {
    public static void main(String[] args) {
        Integer a = 100;
        Integer b = 100;
        System.out.println(a==b);

        Integer aa = 200;
        Integer bb = 200;
        System.out.println(aa==bb);
    }
    public static void main03(String[] args) {
        Integer a = 1;
        int b = a;//自动拆箱

        int c = a.intValue();//显示拆箱
        System.out.println(b);
    }
    public static void main02(String[] args) {
        Integer a = 1;//装箱  自动装箱

        Integer b = Integer.valueOf(2);
    }
    public static void main01(String[] args) {
         Integer a = 0;
         int b = 1;
         Integer c = b;
        System.out.println(a);
    }
}
